package com.glb.gilibuy.dao;

import com.glb.gilibuy.entity.ProductDiscussion;
import com.glb.gilibuy.entity.ProductDiscussionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProductDiscussionDao {
    long countByExample(ProductDiscussionExample example);

    int deleteByExample(ProductDiscussionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(ProductDiscussion record);

    int insertSelective(ProductDiscussion record);

    List<ProductDiscussion> selectByExample(ProductDiscussionExample example);

    ProductDiscussion selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") ProductDiscussion record, @Param("example") ProductDiscussionExample example);

    int updateByExample(@Param("record") ProductDiscussion record, @Param("example") ProductDiscussionExample example);

    int updateByPrimaryKeySelective(ProductDiscussion record);

    int updateByPrimaryKey(ProductDiscussion record);
}